<template>
  <div class="one">
    <two-dog
      v-for="(item, index) in list"
      :key="index"
      :imgSrc="item.imgSrc"
      :text="item.text"
    />
  </div>
</template>

<script>
import twoDog from "./components/twoDog.vue";
export default {
  components: {
    twoDog,
  },
  data() {
    return {
      list: [
        {
          imgSrc: "http://destiny001.gitee.io/image/cxk.gif",
          text: "你也想起舞吗？？",
        },
        {
          imgSrc: "http://destiny001.gitee.io/image/cxk.gif",
          text: "你也想起舞吗？？",
        },
        {
          imgSrc: "http://destiny001.gitee.io/image/cxk.gif",
          text: "你也想起舞吗？？",
        },
        {
          imgSrc: "http://destiny001.gitee.io/image/cxk.gif",
          text: "你也想起舞吗？？",
        },
      ],
    };
  },
};
</script>

<style scoped>
.one {
  display: flex;
}
</style>
